#define kHasDirectConnection 3 /* True implies that driver can talk directly to device (e.g. serial data link via sense lines) */
#define kIsMonoDev 4 /* Says whether there’s an RGB (0) or Monochrome (1) connection. */
#define kUncertainConnection 5 /* There may not be a display (no sense lines?). */
#define kTaggingInfoNonStandard 6 /* Set when csConnectTaggedType/csConnectTaggedData are non-standard (i.e., not the Apple CRT sense codes). */
#define kReportsDDCConnection 7 /* Card can do ddc (set kHasDirectConnect && kHasDDCConnect if you actually found a ddc display). */
#define kHasDDCConnection 8 /* Card has ddc connect now. */
#define kConnectionInactive 9 /* Set when the connection is NOT currently active (generally used in a multiconnection environment). */
#define kDependentConnection 10 /* Set when some ascpect of THIS connection depends on another (will generally be set in a kModeSimulscan environment). */
#define kBuiltInConnection 11 /* Set when connection is KNOWN to be built-in (this is not the same as kHasDirectConnection). */
#define kOverrideConnection 12 /* Set when the reported connection is not the true one, but is one that has been forced through a SetConnection call */
#define kFastCheckForDDC 13 /* Set when all 3 are true: 1) sense codes indicate DDC display could be attached 2) attempted fast check 3) DDC failed */
#define kReportsHotPlugging 14 /* Detects and reports hot pluggging on connector (via VSL also implies DDC will be up to date w/o force read) */
#define kUnknownConnect 1 /* Not sure how we’ll use this, but seems like a good idea. */
#define kPanelConnect 2 /* For use with fixed-in-place LCD panels. */
#define kPanelTFTConnect 2 /* Alias for kPanelConnect */
#define kFixedModeCRTConnect 3 /* For use with fixed-mode (i.e., very limited range) displays. */
#define kPALConnect 12 /* PAL ST (default), FF, STconv, FFconv */
#define kHRConnect 13 /* Straight-6 connect -- 640x480 and 640x400 (to get 8bpp in 256K case) (these two only) */
#define kPanelFSTNConnect 14 /* For use with fixed-in-place LCD FSTN (aka “Supertwist”) panels */
#define kMonoTwoPageConnect 15 /* 1152x870 Apple color two-page display */
#define kColorTwoPageConnect 16 /* 1152x870 Apple B&W two-page display */
#define kColor16Connect 17 /* 832x624 Apple B&W two-page display */
#define kColor19Connect 18 /* 1024x768 Apple B&W two-page display */
#define kGenericCRT 19 /* Indicates nothing except that connection is CRT in nature. */
#define kGenericLCD 20 /* Indicates nothing except that connection is LCD in nature. */
#define kDDCConnect 21 /* DDC connection, always set kHasDDCConnection */
#define kNoConnect 22 /* No display is connected - load sensing or similar level of hardware detection is assumed (used by resident drivers that support hot plugging when nothing is currently connected) */
#define kModeValid 0 /* Says that this mode should NOT be trimmed. */
#define kModeSafe 1 /* This mode does not need confirmation */
#define kModeDefault 2 /* This is the default mode for this type of connection */
#define kModeShowNow 3 /* This mode should always be shown (even though it may require a confirm) */
#define kModeNotResize 4 /* This mode should not be used to resize the display (eg. mode selects a different connector on card) */
#define kModeRequiresPan 5 /* This mode has more pixels than are actually displayed */
#define kModeInterlaced 6 /* This mode is interlaced (single pixel lines look bad). */
#define kModeShowNever 7 /* This mode should not be shown in the user interface. */
#define kModeSimulscan 8 /* Indicates that more than one display connection can be driven from a single framebuffer controller. */
#define kModeNotPreset 9 /* Indicates that the timing is not a factory preset for the current display (geometry may need correction) */
#define kModeBuiltIn 10 /* Indicates that the display mode is for the built-in connect only (on multiconnect devices like the PB 3400) Only the driver is quieried */
#define kModeStretched 11 /* Indicates that the display mode will be stretched/distorted to match the display aspect ratio */
#define kDepthDependent 0 /* Says that this depth mode may cause dependent changes in other framebuffers (and . */
#define kResolutionHasMultipleDepthSizes 0 /* Says that this mode has different csHorizontalPixels, csVerticalLines at different depths (usually slightly larger at lower depths) */
/* Power Mode constants for VDPowerStateRec.powerState. Note the numeric order does not match the power state order */
#define kAVPowerOff 0 /* Power fully off */
#define kAVPowerStandby 1
#define kAVPowerSuspend 2
#define kAVPowerOn 3
#define kHardwareSleep 128
#define kHardwareWake 129
#define kHardwareWakeFromSuspend 130
/* Power Mode masks and bits for VDPowerStateRec.powerFlags. */
#define kPowerStateNeedsRefresh 0 /* When leaving this power mode, a display will need refreshing */
#define kPowerStateSleepAwareBit 1 /* if gestaltPCCardDockingSelectorFix, Docking mgr checks this bit before checking kPowerStateSleepAllowedBit */
#define kPowerStateSleepForbiddenBit 2 /* if kPowerStateSleepAwareBit, Docking mgr checks this bit before sleeping */
#define kPowerStateSleepCanPowerOffBit 3 /* supports power down sleep (ie PCI power off) */